package com.briup.api.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("bstore-cart")
public interface CartClient {
    //通过远程调用，删除当前登录用户购物车中指定商品s
    @DeleteMapping("/shopCars/remoteDelete")
    void deleteCartItemByIds(@RequestParam("goodIds") List<Integer> goodIds);
}
